<%--
  Created by IntelliJ IDEA.
  User: Doraemon
  Date: 2022/5/21
  Time: 10:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 colum">
            <div class="page-header">
                <h1>
                    <small>修改地址簿————————显示所有地址簿</small>
                </h1>
            </div>
        </div>
        <form action="${pageContext.request.contextPath}/AddressBook/update" method="post">
            <div class="form-group">
                <label>用户名</label>
                <input type="text" class="form-control"  name="username" value="${addressBook.username}" required>
            </div>
            <div class="form-group">
                <label>联系人编号</label>
                <input type="text" class="form-control" name="contactId"  value="${addressBook.contactId}" required>
            </div>
            <div class="form-group">
                <label >姓名</label>
                <input type="text" class="form-control" name="name"  value="${addressBook.name}" required>
            </div>
            <div class="form-group">
                <label>电话</label>
                <input type="text" class="form-control" name="phone" value="${addressBook.phone}" required>
            </div>
            <div class="form-group">
                <label>单位地址</label>
                <input type="text" class="form-control" name="address" value="${addressBook.address}" required>
            </div>
            <div class="form-group">
                <label>邮箱1</label>
                <input type="text" class="form-control" name="email1" value="${addressBook.email1}">
            </div>
            <div class="form-group">
                <label>邮箱2</label>
                <input type="text" class="form-control" name="email2" value="${addressBook.email2}" >
            </div>
            <div class="form-group">
                <label>邮箱3</label>
                <input type="text" class="form-control" name="email3" value="${addressBook.email3}" >
            </div>
            <div class="form-group">
                <input type="submit" class="form-control" value="添加">

            </div>
        </form>
    </div>
</div>

</body>
</html>
